package com.lingnan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lingnan.entity.po.Blacklist;
import org.apache.ibatis.annotations.Param;

public interface BlacklistMapper extends BaseMapper<Blacklist> {
    IPage<Blacklist> selectByCondition(
            IPage<Blacklist> page,
            @Param("sourceId") Long sourceId,
            @Param("targetId") Long targetId,
            @Param("targetType") Integer targetType,
            @Param("status") Integer status);
}